package com.yxinsur.imc.business.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yxinsur.imc.common.core.domain.BaseImcEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import com.yxinsur.imc.common.annotation.Excel;
import com.yxinsur.imc.common.core.domain.BaseEntity;

/**
 * 代理人信息对象 imc_broker
 *
 * @author imc
 * @date 2021-03-18
 */
@Data
@ToString
public class ImcBroker extends BaseImcEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    private Long id;

    private String brokerGuid;

    @Excel(name = "团队（营销区）")
    private Long teamId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String fullName;

    /** 工号-机构内唯一 */
    @Excel(name = "工号-机构内唯一")
    private String brokerCode;

    /** 证件类型 */
    @Excel(name = "证件类型")
    private String certiType;

    /** 证件号 */
    @Excel(name = "证件号")
    private String certiCode;

    /** 性别 */
    @Excel(name = "性别" ,dictType="sys_user_sex", readConverterExp = "0=男,1=女,2=未知")
    private String gender;

    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 移动电话 */
    @Excel(name = "移动电话")
    private String phone;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 代理人执业证号 */
    @Excel(name = "代理人执业证号")
    private String quafNo;

    /** 分红万能险资质 */
    @Excel(name = "分红万能险资质")
    private String ucoverNo;

    /** 民族 */
    @Excel(name = "民族")
    private String nation;

    /** 婚姻状况 */
    @Excel(name = "婚姻状况")
    private String maritalStatus;

    /** 政治面貌 */
    @Excel(name = "政治面貌")
    private String politicalStatus;

    /** 最高学历 */
    @Excel(name = "最高学历")
    private String highestEdu;

    /** 毕业院校 */
    @Excel(name = "毕业院校")
    private String graduateSchool;

    /** 开户行 */
    @Excel(name = "开户行")
    private String accountBank;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String bankAccount;

    /** 入职日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date employDate;

    /** 离职日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "离职日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date leaveDate;

    /** 离职原因 */
    @Excel(name = "离职原因")
    private String leaveCause;

    /** 保单继承人broker_id */
    @Excel(name = "保单继承人broker_id")
    private Long orderHeirId;

    /** 担保人姓名 */
    @Excel(name = "担保人姓名")
    private String suretyName;

    /** 担保人身份证 */
    @Excel(name = "担保人身份证")
    private String suretyCertiCode;

    /** 担保人联系电话 */
    @Excel(name = "担保人联系电话")
    private String suretyPhone;

    /** 担保人联系地址 */
    @Excel(name = "担保人联系地址")
    private String suretyAddress;

    /** 紧急联系人 */
    @Excel(name = "紧急联系人")
    private String urgentContactsName;

    /** 紧急联系电话 */
    @Excel(name = "紧急联系电话")
    private String urgentContactsPhone;

    /** 紧急联系人关系 */
    @Excel(name = "紧急联系人关系")
    private String urgentContactsRelation;

    /** 是否在职 Y N */
    private String status;


    /** $column.columnComment */
    private String isDeleted;


    private String isLocked;

    /** 租户id,一个租户id唯一对一个机构id（默认机构id为根节点id暨法人机构） */
    private String tenantId;

    private String avatar;

    private String brokerContractUrl;




}
